package com.jy.adscm.dealer.service;

import com.jy.adscm.dealer.bean.DealerInfo;
import com.baomidou.mybatisplus.service.IService;
import com.jy.adscm.exception.AdscmSystemException;
import com.jy.adscm.security.utils.Token;

import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author zyl
 * @since 2019-01-16
 */
public interface DealerInfoService extends IService<DealerInfo> {

    List<DealerInfo> selectDealerInfo(Integer did) throws AdscmSystemException;
    void insertDealerInfo(Object obj,Token token,Class cls,Integer did);
    void updateDealerInfo(Object newobj,Object oldobj,Token token ,Class cls,Integer did) throws AdscmSystemException;
    void deleteDealerInfo(Object obj, Token token,Class cls,Integer did);
}
